<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<style type="text/css">
.progress {
	z-index: 2000
}
.mask {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	background-color: #2F2F2F
}
</style>
<div class="box box-primary">
  <div class="box-header with-border">
    <h3 id="h3Title" class="box-title">${serviceName }</h3>
    <input type="hidden" value="${serviceName }" />
    <!-- /.box-tools -->
      <img id="progressImgage" class="progress" style="display: none" alt="" src="../dist/img/ajax-loader.gif" />
	<div id="maskOfProgressImage" class="mask" style="display: none"></div>
  <!-- /.box-header -->
  <div class="box-body no-padding">
  	<div class="mailbox-controls">
      <div class="btn-group">
        <button type="button" class="btn btn-default btn-sm" onclick="startAll()"><i class="fa fa-trash-o"></i>全部启动</button>
        <button type="button" class="btn btn-default btn-sm" onclick="stopAll()"><i class="fa fa-reply"></i>全部停止</button>
        <button type="button" class="btn btn-default btn-sm" onclick="reStartAll()"><i class="fa fa-refresh"></i>全部重启</button>
      </div>
    </div>
    <div class="table-responsive mailbox-messages">
      <table class="table table-bordered table-hover">
      	<thead>
      		<tr style="background-color: #f9f9f9;">
      		<th>节点</th>
      		<th>IP</th>
      		<th>状态</th>
      		<th>操作</th>
      		<th>日志查看</th>
      		</tr>
      	</thead>
        <tbody id="ipTbody">
        <!-- <tr>
          <td><a href="read-mail.html">节点1</a></td>
          <td><b>192.168.1.109</b></td>
          <td><a href="#" title="未启动"><i class="fa fa-warning text-yellow"></i></a></td>
          <td>
          	<a  href="#" title="启动" ><i class="fa fa-play text-blue"></i>启动</a>
          	<a href="#" title="重启"><i class="fa fa-refresh text-green"></i>重启</a>
          	<a href="#" title="停止"><i class="fa fa-power-off text-yellow"></i>停止</a>
          	<a href="#" title="删除"><i class="fa fa-remove text-red"></i>删除</a>
          </td>
          <td>
          	<a href="#" title="日志文件"></i>日志文件</a> |
          	<a href="#" title="程序输出">程序输出</a> |
          	<a href="#" title="错误输出">错误输出</a>
          </td>
        </tr> -->
        </tbody>
      </table>
      <!-- /.table -->
    </div>
    <!-- /.mail-box-messages -->
  </div>
  <!-- /.box-body -->
  
</div>
<div class="box box-primary">
  <div class="box-header with-border">
    <h3 class="box-title">可添加节点</h3>
    <!-- /.box-tools -->
  </div>
  <!-- /.box-header -->
  <div class="box-body no-padding">
    <div class="table-responsive mailbox-messages">
      <table class="table table-bordered table-hover">
      	<thead>
      		<tr style="background-color: #f9f9f9;">
      		<th>节点</th>
      		<th>IP</th>
      		<th>状态</th>
      		<th>操作</th>
      		</tr>
      	</thead>
        <tbody id="uUserNodeTbody">
        <!-- <tr>
          <td><a href="read-mail.html">节点1</a></td>
          <td><b>192.168.1.109</b></td>
          <td><a href="#" title="未启动"><i class="fa fa-warning text-yellow"></i></a></td>
          <td>
          	<a href="#" title="添加"><i class="fa fa-plus text-blue"></i>添加</a>
          </td>
        </tr> -->
        </tbody>
      </table>
      <!-- /.table -->
    </div>
    <!-- /.mail-box-messages -->
  </div>
  <!-- /.box-body -->
  <input id="servId" type="hidden" value="1">
</div>